package com.sefonsoft.dataanalysis.model;

import com.sefonsoft.dataanalysis.annotation.FieldMeta;
import com.sefonsoft.dataanalysis.annotation.Id;
import com.sefonsoft.dataanalysis.annotation.Table;

/**
 * 新闻文章
 * @author xgj
 * 2017年11月29日16:22:55
 */
@Table(desc="",name = "news_t",sysId="1",fileKind="32")
@Id(name = "id")
public class News {

	/**
	 * id
	 */
	private String id;
	
	/**
	 * 标题
	 */
	@FieldMeta(name = "标题",type="varchar",length=256)
	private String title;
	
	/**
	 * 来源
	 */
	@FieldMeta(name = "来源",type="varchar",length=256)
	private String source;
	
	/**
	 * 发布时间
	 */
	@FieldMeta(name = "发布时间",type="varchar",length=256)
	private String publicTime;
	
	/**
	 * 类别
	 */
	@FieldMeta(name = "类别",type="varchar",length=256)
	private String type;
	
	/**
	 * 正文
	 */
	@FieldMeta(name = "正文",type="text")
	private String content;
	/**
	 * 字号
	 */
	@FieldMeta(name = "字号",type="varchar",length=256)
	private String zihao;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public String getPublicTime() {
		return publicTime;
	}

	public void setPublicTime(String publicTime) {
		this.publicTime = publicTime;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getZihao() {
		return zihao;
	}

	public void setZihao(String zihao) {
		this.zihao = zihao;
	}
	
}
